<?php

/**
 * @author Martin Pernica
 * @copyright 2009
 */

if(!empty($q[1])){
	Text::h2( Lang::getFront('com_print', 'loading') );
	echo "
<script>
window.location.replace('{url}components/com_print/print.php?id=".intval($q[1])."');
</script>
	";
}else{
	Text::h2( Lang::getFront('com_print', 'bad_id') );
}

?>